/**
 * @file s_calibration.h
 * @brief 
 * @author xuesong (wenshaoliu@foxmail.com)
 * @version 1.0
 * @date 2023-12-11
 * 
 * @copyright Copyright (c) 2023  by xuesong
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2023-12-11     <td>1.0     <td>xuesong   <td>内容
 * </table>
 */
#ifndef __S_CALIBRATION_H_
#define __S_CALIBRATION_H_

#include "sdk_config.h"
#include "types.h"
#include "User_keyScan.h"
#include "s_weight.h"
#ifdef __cplusplus
extern "C"
{
#endif

typedef enum{
    D_CAL_SET = 0,              // user set
    D_CAL_SET_POWEROFF,         // set power off time
    D_CAL_SET_TimeFinish,       // time set power off time finish
    D_CAL_SELET_WTrang,         // select weight range
    D_CAL_Zero,                 // calibration zero
    D_CAL_POINT1,               // calibration 100g
    D_CAL_POINT2,               // calibration 500g
    D_CAL_POINT3,               // calibration 1000g
    D_CAL_POINT4,               // calibration 2000g
    D_CAL_Finish,               // calibration finish
}CALILIBRATION_SETP;
//----------------------------------------------------
void Fun_Process_Calibration(KeyStatus_t key);
void displayScaleInfor(Scale_data_t * scaleData);
//----------------------------------------------------
#ifdef __cplusplus
}
#endif

#endif


